<h5 class="memberarea_caption">{$smarty.const.LA_PAYMENT}</h5>
{if $operacionSatisfactoria==1}
	<center>
		<p><b style="color: blue;">{$smarty.const.EF_CREDITO_ACREDITADO}</b></p>
		<p>{$ordenesPagadas}</p>
	</center>
	<br/>
	<center>
		<div class="recuadroImportante">
			{$smarty.const.EF_NOTA_POST_PAGO}
		</div>	
	</center>
	<br/>
{elseif $operacionSatisfactoria==2}
	<center>
		<p><b class='red'>{$smarty.const.EF_CREDITO_NO_ACREDITADO}</b></p>
		<p>{$ordenesPagadas}</p>
	</center>
	<br/>
	<center>
		<div class="recuadroImportante">
			{$smarty.const.EF_NOTA_POST_PAGO}
		</div>	
	</center>
	<br/>
{elseif $operacionSatisfactoria==3}
	<center>
		<p><b class='red'>{$smarty.const.EF_CREDITO_NO_VERIFICADO}</b></p>
		<p>{$ordenesPagadas}</p>	
	</center>
	<br/>
	<center>
		<div class="recuadroImportante">
			{$smarty.const.EF_NOTA_POST_PAGO}
		</div>	
	</center>
	<br/>
{/if}
{if count($arrayOfOrders)>0}
	{if $operacionSatisfactoria==1}
	<br/><br/>
		<p><b>{$smarty.const.EF_OTRAS_ORDENES_PENDIENTES}:</b></p>
	{else}
		<p><b>{$smarty.const.EF_ORDENES_PENDIENTES}:</b></p>
	{/if}
<br/>
	<table>
	  {foreach item=order from=$arrayOfOrders}
		  {if $transactionOid==0 || $transactionOid==$order.orderId}
		  <tr>
		    <td colspan="4">
		    	<b>
		    		{$smarty.const.EF_AVISO_A_PAGAR|sprintf:$order.packageCount:$order.packageName:$order.kindOfCredit:$order.unitCost:$order.totalCost}    	
		    	</b>
		    </td>
		    <td>&nbsp;&nbsp;</td>
		    <td>
			    <form action='https://argentina.dineromail.com/Shop/Shop_Ingreso.asp' method='post'>
					<input type='hidden' name='NombreItem' value='{$order.packageCount} {$order.kindOfCredit}: {$order.packageName}'>
					<input type='hidden' name='TipoMoneda' value='1'>
					<input type='hidden' name='PrecioItem' value='{$order.totalCost}'>
					<input type='hidden' name='E_Comercio' value='{$smarty.const.DINEROMAIL_E_COMERCIO}'>
					<input type='hidden' name='NroItem' value='{$order.packageId}'>
					<input type='hidden' name='image_url' value='http://www.mercadovial.com/images/header-logo.jpg'>
					<input type='hidden' name='DireccionExito' value='http://{$url}/mvial_pay_center.php?ops=1'>
					<input type='hidden' name='DireccionFracaso' value='http://{$url}/mvial_pay_center.php?ops=2'>
					<input type='hidden' name='DireccionEnvio' value='0'>
					<input type='hidden' name='Mensaje' value='0'>
					<input type='hidden' name='trx_id' value='{$order.orderId}'>		
					<input type="submit" class="buttonCompra" name="submit" value="Efectivizar pago">
				</form>		    
		    </td>		    
		  </tr>
		  {/if}
	  {/foreach}
	  	  {if $transactionOid!=0} 
	  	  <tr>
		  	<td colspan="6">
			<div class="recuadroImportante">
					{$NOTA}
			</div>
			</td>  
		  </tr>
		  {/if}
	</table>
</br>
	{if $transactionOid==0 && $operacionSatisfactoria==0}
		<center><div class="verifCredit">
						<a href="mvial_pay_center.php?ops=1&days=7">Verificar Acreditación de Pago</a>				
				</div>
		</center>	
	{/if}
{/if}


